/*
 * OPIAM Suite
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */

package opiam.admin.faare.unittests.javabeans;

import opiam.admin.faare.persistence.javabeans.JBTop;

import java.io.Serializable;

import java.util.ArrayList;
import java.util.List;


/**
 * Mapping class for the unit object.<br>
 * The definition of the object is given in the faare_mapping.xml file.
 * This file defines the mapping between the unit object and the corresponding LDAP entries.
 */
public class UnitTest extends JBTop implements Serializable
{
    /** List of the objectclasses. */
    private List objectClass = new ArrayList();

    /** Description attribute. */
    private String description;

    /** OrginationalUnit attribute. */
    private String ou;

    /**
     * Creates a new UnitTest object.
     */
    public UnitTest()
    {
    }

    /**
     * Gets the description.
     *
     * @return Returns the description.
     */
    public String getDescription()
    {
        return description;
    }

    /**
     * Sets the description.
     *
     * @param adescription  The description to set.
     */
    public void setDescription(String adescription)
    {
        this.description = adescription;
    }

    /**
     * Gets the objectclasses list.
     *
     * @return The objectClasses.
     */
    public List getObjectClass()
    {
        return objectClass;
    }

    /**
     * Sets the list of the objectclasses.
     *
     * @param objectClasses  The objectClasses to set.
     */
    public void setObjectClass(List objectClasses)
    {
        this.objectClass = objectClasses;
    }

    /**
     * Gets the organizationlUnit.
     *
     * @return The organizationlUnit.
     */
    public String getOu()
    {
        return ou;
    }

    /**
     * Sets the organizationlUnit.
     *
     * @param aou  The organizationlUnit to set.
     */
    public void setOu(String aou)
    {
        this.ou = aou;
    }
}
